// import from "../../apis/mine.js"
import apis from "../../http/apis"
export default {
	namespaced: true,
	state: {
		//初始列表数据
		// list: []
		// orderInfo:[]
		money:""
	},
	mutations: {
		setMoney(state, data) {
			state.money = data
		}
	},
	actions: {
		//context
		async getMoneyAllInfo(context){
			const data=await apis.getMoneyAll();
			if(data.data.code==1366){
				context.commit('setMoney',data.data.data.walletMoney)
			}
		}
	},
}
